package com.shicijiaoliu.pojo;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Post {
    private String name;
    private String content;
    private LocalDateTime time;
    private long clicks;
    private String title;
    private long id;

    public Post(){

    }

    public Post(String name, String content, LocalDateTime time, Long click, String title,long id) {
        this.name = name;
        this.clicks = click;
        this.time = time;
        this.content = content;
        this.title = title;
        this.id = id;
    }
}
